import React from 'react'
import Head from '../components/Head'
import Register from '../components/Register'
import withRedux from 'next-redux-wrapper'
import { initTotalStore } from '../store/store'
import AntdLayout from '../components/AntdLayout'

class register extends React.Component {
    constructor(props) {
        super(props)
    }

    render() {
        return (
            <AntdLayout>
                <div className="Register">
                    <Head title="Register">
                    </Head>
                    <Register />
                    <style jsx>{`
                    :global(html,body) {
                        background: #aaaaaa;
                    }
                    .Register {
                        height: 100%;
                    }
                `}
                    </style>
                </div>
            </AntdLayout>
        )
    }
}


export default withRedux(initTotalStore, null, null)(register)